-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSTEAMA 1445 - Add client side Optimizely code #12177
base: latest
Are you sure you want to change the base?
Conversation
….com:bbc/simorgh into WSTEAMA-1445-add-client-side-optimizely-code
….com:bbc/simorgh into WSTEAMA-1445-add-client-side-optimizely-code
This reverts commit 19e20b8.
This reverts commit ec73032.
….com:bbc/simorgh into WSTEAMA-1445-add-client-side-optimizely-code
….com:bbc/simorgh into WSTEAMA-1445-add-client-side-optimizely-code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of comments, but looks good!
) : ( | ||
<JumpTo {...props} /> | ||
), | ||
jumpToVariation === 'on' ? <JumpTo {...props} /> : <JumpTo {...props} />, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
Thinking about it, maybe we should just go the whole way now and return null
if its not on
.
We can force ourselves into the experiment and toggle the variations to test that it shows/hides correctly. So probably best to do that now too.
Resolves JIRA 1445
Overall changes
Adds and updates any Optimizely code required to run our experiment of the JumpTo component on Article pages.
Code changes
scrollable_promo
references tojump_to